/* OURTEAM  */

.to-uppercase {
  text-transform: uppercase;
}

.katta-box {
  margin: 0 auto;
  width: 90%;
  display: flex;
  flex-direction: row;
  position: relative;
  margin-top: 2rem;
  border: 0.02px solid rgba(105, 104, 104, 0.2);
  /* box-shadow: 1px 2px 5px #5a5a5a; */
}

.katta-box:hover {
  margin: 0 auto;
  width: 90%;
  display: flex;
  position: relative;
  margin-top: 2rem;
  border: 0.02px solid rgba(105, 104, 104, 0.2);
  /* border: 1px solid #5a5a5a; */
  box-shadow: 1px 2px 5px #5a5a5a;
  transition: all 0.3s ease;
}

.img-ourteam {
  min-width: 220px;
  min-height: 260px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
}

.text-ourteam {
  width: 100%;
  min-height: 260px;
}

.text-ourteam h2 {
  padding-top: 1rem;
  padding-left: 1rem;
}

.about-ourteam {
  background-color: rgb(240, 244, 250);
  width: 100%;
  min-height: 100px;
  box-sizing: border-box;
  margin-top: -1.5rem;
  display: inline-block;
}

.about-ourteam > i {
  display: inline-block;
  padding-top: 0.6rem;
  padding-left: 1.5rem;
  font-weight: 500;
}

.about-ourteam p {
  padding-left: 1.5rem;
  padding-top: 0.6rem;
}

 /* ourteam buttons */
 
.buttons-ourteam {
  display: flex;  
  align-items: baseline;
  justify-content: flex-end;
  flex-wrap: wrap;
  position: relative;
  padding-top: 2rem;
  padding-bottom: 1rem;
  right: 1rem;
  bottom: 1%;
  box-sizing: border-box;
}

.button-ourteam a {
  text-decoration: none;
  color: #fff;
  padding: 5px;
  font-weight: 600;
  font-size: 12px;
}

.button-ourteam {
  display: flex;
  align-items: baseline;
  border: none;
  margin-left: 0.5em;
  background-color: rgb(24, 63, 105);
  border-radius: 4px;
  margin: 0.2em;
}

.button-ourteam:hover {
  border: none;
  background-color: rgb(36, 105, 180);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.cv-ourteam {
  display: flex;
  align-items: baseline;
  padding: 2px;
  border-radius: 4px;
  border: none;
  margin-left: 0.7em;
  background-color: #5a5a5a;

}

.cv-ourteam a {
  text-decoration: none;
  color: #fff;
  padding: 4px;
  font-weight: 600;
  font-size: 12px;
}

.cv-ourteam:hover {
  border: 1px solid #5a5a5a;
  background-color: #ffffff;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.cv-ourteam:hover a {
  color: #5a5a5a;
  text-decoration: none;
  padding: 4px;
  font-weight: 600;
  font-size: 12px;
}


/* ANIMATION SECTION*/

/* animation ourteam */

@keyframes mymove {

  0% {
    background-color: none;
  }

  100% {
    background-color: rgb(89, 89, 89);
    width: 70%;
  }
}

.line-animat {
  width: 100px;
  height: 3px;
  display: inline-block;
  position: relative;
  top: -0.7em;
}

.katta-box:hover .line-animat {
  animation: mymove 1s forwards;
}


/* RESPONSIVE */

@media screen and (max-width: 768px) {

  .katta-box {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: 1.5rem;
    border: 0.02px solid rgba(105, 104, 104, 0.2);
    /* box-shadow: 1px 2px 5px #5a5a5a; */
  }

  .katta-box:hover {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: 1.5rem;
    /* border: 1px solid #5a5a5a; */
    box-shadow: 1px 2px 5px #5a5a5a;
    transition: all 0.3s ease;
  }

  .img-ourteam {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    min-width: 200px;
    min-height: 250px;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
  }

  .text-ourteam h2 {
    text-align: center;
    padding: 0.6rem;
  }

  .about-ourteam {
    background-color: rgb(240, 244, 250);
    width: 100%;
    height: auto;
    padding: 0.6rem;
  }

  .about-ourteam>i {
    padding: 0.6rem;
    font-weight: 500;

    font-size: 14px;
  }

  .about-ourteam p {
    padding: 0.6rem;
    font-size: 14px;
  }

  .buttons-ourteam {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    bottom: 0.3rem;
  }

  .button-ourteam a,
  .cv-ourteam a {
    display: inline-block;
    padding: 3px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
  }

  .button-ourteam {
    margin: 5px;
    border: none;
    margin-left: 0.6rem;
    background-color: rgb(24, 63, 105);
    border-radius: 4px;
  }

  .button-ourteam:hover {
    border: none;
    margin-left: 0.6rem;
    background-color: rgb(36, 105, 180);
    border-radius: 4px;
    transition: all 0.3s ease;
  }

  .cv-ourteam {
    margin: 5px;
    border: none;
    margin-left: 0.6rem;
    background-color: #5a5a5a;

    border-radius: 4px;
  }

  .cv-ourteam:hover {
    border: 1px solid #5a5a5a;
    margin-left: 0.6rem;
    background-color: #ffffff;
    border-radius: 4px;
    transition: all 0.3s ease;
  }

  .cv-ourteam:hover a {
    color: #5a5a5a;
  }

  /* Location */


}